package org.xb.SimpleStrategyPattern;

/**
 * @Author
 * @Description
 * @Date created in 16:18 2023/12/5
 */
public class Main {
    public static void main(String[] args) {
        Context context;
        context = new Context(new CashNormal());
        context.ContextInterface(200);
        context = new Context(new CashReturn(300d,100d));
        context.ContextInterface(500);
    }
}
